package net.pws.oos.biz.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "b_supervision_recod")
public class SupervisionRecod extends Identifier {

	private static final long serialVersionUID = -4149677262927311525L;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "task_id")
	private Task task;
	
	//施工单位
	@Column(name="constru_unit")
	private String constructionUnit;
	
	//施工动态
	@Column(name="constru_case")
	private String constructionCase;
	
	//施工质量
	@Column(name="constru_quality")
	private String constructionQuality;
	
	//安全文明施工
	@Column(name="constru_safety_culture")
	private String constructionSafetyCulture;
	
	//其他情况记录
	@Column(name="other_situations")
	private String otherSituations;
	
	//整改措施及处理情况
	@Column(name="rectific_measures")
	private String rectificationMeasures;
	
	//填报时间
	@Column(name = "record_date")
	private Date recordDate;

	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public String getConstructionUnit() {
		return constructionUnit;
	}

	public void setConstructionUnit(String constructionUnit) {
		this.constructionUnit = constructionUnit;
	}

	public String getConstructionCase() {
		return constructionCase;
	}

	public void setConstructionCase(String constructionCase) {
		this.constructionCase = constructionCase;
	}

	public String getConstructionQuality() {
		return constructionQuality;
	}

	public void setConstructionQuality(String constructionQuality) {
		this.constructionQuality = constructionQuality;
	}

	public String getConstructionSafetyCulture() {
		return constructionSafetyCulture;
	}

	public void setConstructionSafetyCulture(String constructionSafetyCulture) {
		this.constructionSafetyCulture = constructionSafetyCulture;
	}

	public String getOtherSituations() {
		return otherSituations;
	}

	public void setOtherSituations(String otherSituations) {
		this.otherSituations = otherSituations;
	}

	public String getRectificationMeasures() {
		return rectificationMeasures;
	}

	public void setRectificationMeasures(String rectificationMeasures) {
		this.rectificationMeasures = rectificationMeasures;
	}

	public Date getRecordDate() {
		return recordDate;
	}

	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}
	
	
}
